//
//  XJNetWorkingManager+Request.m
//  MZJ
//
//  Created by XDD on 16/6/14.
//  Copyright © 2016年 XDD. All rights reserved.
//

#import "XJNetWorkingManager+Request.h"

@implementation XJNetWorkingManager (Request)

+ (NSURLSessionDataTask *)successHandler:(SuccessBlock)success failureHandler:(FailureBlock)failure {
    
    NSURLSessionDataTask *dataTask = [XJNetWorkingManager postWithUrl:home_img params:@{ } successHandler:success failureHandler:failure];
    return dataTask;
}

+ (NSURLSessionDataTask *)success_DownAndType:(SuccessBlock)success failureHandler:(FailureBlock)failure {
    NSURLSessionDataTask *dataTask = [XJNetWorkingManager postWithUrl:downAndType params:@{ } successHandler:success failureHandler:failure];
    return dataTask;
}

@end
